package com.gonsin.easycount.plugin;

public interface OuterLock {

    /**
     * 读锁
     */
    void readLock(String topic);

    /**
     * 读解锁
     */
    void readUnlock(String topic);

    /**
     * 写锁
     */
    void writeLock(String topic);


    /**
     * 写解锁
     */
    void writeUnlock(String topic);
}
